import { createApp } from 'vue'
import App from './App.vue'

//css样式引入
import './assets/css/index.less'
import 'normalize.css'
//resizeObserver 支持64以上版本chrome   ，需要polyfill兼容element-plus
import ResizeObserver from 'resize-observer-polyfill'
window.ResizeObserver = ResizeObserver

const app = createApp(App)

//封装svg组件
import registerSvg from '@/assets/svg'
registerSvg(app)

import router from './router'
import store from './store'

app.use(store).use(router).mount('#app')
